import request from '@/utils/request'
import { Dictionary } from '@/interface/Basic'
// 零流量模块
export function AAE_GetConfiguration() {
  return request({
    url: 'api/AAE/GetAAEConfig',
    method: 'get'
  })
}
export function AAE_AnalysisData(data: Dictionary<any>) {
  return request({
    url: 'api/AAE/DataAnalysis',
    method: 'post',
    data
  })
}
export function AAE_GetRawData(params: { number: string; time: string }) {
  return request({
    url: 'api/AAE/CallRawData',
    method: 'get',
    params
  })
}
export function AAE_SaveRawData(data: { dt: Dictionary<string>[]; AAE001: string; id: string }) {
  return request({
    url: 'api/AAE/SaveRawData',
    method: 'post',
    data
  })
}
